package io.github.jesse205.dragdrop.pro.model;

import android.content.ClipData;

import androidx.annotation.NonNull;

public class DragDropChildItem {
    @NonNull
    public final ClipData.Item originItem;
    @NonNull
    public final CharSequence displayText;
    @NonNull
    public DragDropChildItem.DISPLAY_TYPE displayType = DragDropChildItem.DISPLAY_TYPE.LOADING;


    public DragDropChildItem(@NonNull ClipData.Item originItem, @NonNull CharSequence displayText) {
        this.originItem = originItem;
        this.displayText = displayText;
    }

    public DragDropChildItem(@NonNull ClipData.Item originItem) {
        this(originItem, "");
    }

    public enum DISPLAY_TYPE {
        LOADING, IMAGE, VIDEO, MUSIC, FILE
    }
}
